package com.axend.aerosense.room.ui.adapter;

import com.axend.aerosense.common.bean.PersonSelectItemBean;
import com.chad.library.adapter.base.BaseProviderMultiAdapter;
import com.axend.aerosense.room.ui.provider.PersonProvider;

import org.jetbrains.annotations.NotNull;

import java.util.List;

public class PersonProviderMultiAdapter extends BaseProviderMultiAdapter<PersonSelectItemBean> {
    public final static int TYPE_COMMON = 1;
    public PersonProviderMultiAdapter(Boolean selectMode) {
        super();
        addItemProvider(new PersonProvider(selectMode));
    }

    @Override
    protected int getItemType(@NotNull List<? extends PersonSelectItemBean> list, int index) {
        return TYPE_COMMON;
    }
}
